import {ApplyUserStatus, SexType} from '../common/constants';

export class ApplyFlyerDto {
    id: string;
    accountId: string;
    account: string;
    name: string;
    phone: string;
    age: number;
    sex: SexType;
    duty: string;
    tenantId: string;
    tenantName: string;
    desc: string;
    yearDuration: number;
    yearDistance: number;
    yearCount: number;
    totalDuration: number;
    totalDistance: number;
    totalCount: number;
    status: ApplyUserStatus;


    constructor(id: string, accountId: string, account: string, name: string, phone: string, age: number, sex: SexType, duty: string, tenantId: string, tenantName: string, desc: string, yearDuration: number, yearDistance: number, yearCount: number, totalDuration: number, totalDistance: number, totalCount: number, status: ApplyUserStatus) {
        this.id = id;
        this.accountId = accountId;
        this.account = account;
        this.name = name;
        this.phone = phone;
        this.age = age;
        this.sex = sex;
        this.duty = duty;
        this.tenantId = tenantId;
        this.tenantName = tenantName;
        this.desc = desc;
        this.yearDuration = yearDuration;
        this.yearDistance = yearDistance;
        this.yearCount = yearCount;
        this.totalDuration = totalDuration;
        this.totalDistance = totalDistance;
        this.totalCount = totalCount;
        this.status = status;
    }
}
